<%@ page import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="net.sf.json.*"%>
<%
//String nodeid = request.getParameter("node");
//System.out.println("当前异步父节点：" + nodeid);

//String response_nodeId = response.getWriter().

	String libUrl = "http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom";
//"/template/lib/tiles_custom";
//"gmcc_ext";//  http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myRefactor/myPortletPanel.js
	String smcPrefix = "";
	Map model = (Map) request.getAttribute("model");
	//request.removeAttribute("model");
	//if(request.getAttribute("margins")!=null) model.put("margins", request.getAttribute("margins"));
	//if("true".equals(request.getParameter("headeroff"))){
	//        model.put("margins","0 0 0 0");
	//}//if
	if (null != model) {
		if (!model.containsKey("margins"))
			model.put("margins", "141 40 40 40");
		if (!model.containsKey("smcPrefix")
				|| ((String) model.get("smcPrefix")).length() == 0)
			model.put("smcPrefix", "http://pac-app.gmcc.net/smc");
		libUrl = (String) model.get("libUrl");
		smcPrefix = (String) model.get("smcPrefix");
	}
%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<script language="javascript">
   var model= <%=JSONObject.fromObject(request
									.getAttribute("model"))%>;
//alert(model.margins);
//alert(model.treeModelUrl);
alert("test11");
//http://pac-lib.gmcc.net/share/lib
</script>
<link rel="stylesheet" type="text/css"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/ext-2.3.0/resources/css/ext-all.css" />
<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/ext-2.3.0/adapter/ext/ext-base.js"></script>
<script type="text/javascript" href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/ext-2.3.0/ext-all.js"></script>
<link rel="stylesheet" type="text/css"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/ext-portal/portal.css" />

<script type="text/javascript" href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/ext-portal/Portal.js"></script>
<script type="text/javascript" href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/ext-portal/PortalColumn.js"></script>
<script type="text/javascript" href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/ext-portal/Portlet.js"></script>
<script type="text/javascript" href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/ext-portal/iframe.js"></script>

<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myRefactor/saveCurLayoutFn.js"></script>
<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myRefactor/myPortalPanel.js"></script>
<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myRefactor/handleMaximizeFn.js"></script>
<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myRefactor/myPortletPanel.js"></script>
<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myRefactor/handleMinimizeFn.js"></script>

<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myNewjs/MyChannalTree.js"></script>
<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myNewjs/MyTopPanel.js"></script>
<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myNewjs/MyTopPanel1.js"></script>
<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myNewjs/MyCenterPanel.js"></script>
<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myNewjs/setupDropTargetsFn.js"></script>
<script type="text/javascript"
	href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/myNewjs/getChannelFromNodeFn.js"></script>
<script type="text/javascript" href="http://frank8080.gmcc.net:8080/smc/template/lib/tiles_custom/javascripts/index.js"></script>
<script>		
alert("test1");
	Ext.onReady(function() {
	
		//init();
	});
    </script>
